﻿<?xml version="1.0" encoding="utf-8" ?> 
<Model>
	<Package name="ObjectModel">
		<Class name="Person">
			<Property name="Name" type="System.String" />
			<Property name="Firstname" type="System.String" />
			<Property name="Birthday" type="System.DateTime" />
		</Class>
		
		<Relationship type="aggregation">
			<Parent name="Person" role="Person" multiplicity="1"/>
			<Child name="Person" role="Partners" multiplicity="*"/>
		</Relationship>
		
		<Class name="Employee" inherit="Person" />
		<Enumeration name="Offices">
			<Literal name="Accountant"/>
			<Literal name="Worker"/>
			<Literal name="Technician"/>
		</Enumeration>
		<Relationship type="composition">
			<Parent name="Employee" role="Employee" multiplicity="1"/>
			<Child name="Offices" role="Office" multiplicity="1"/>
		</Relationship>
		<Class name="Company">
			<Property name="Name" type="System.String" />
			<Property name="Chairman" type="System.String" />
			<Property name="Address" type="System.String" />
			<Property name="City" type="System.String" />
		</Class>
		<Relationship type="aggregation">
			<Parent name="Company" role="Company" multiplicity="1"/>
			<Child name="Employee" role="Employees" multiplicity="*"/>
		</Relationship>
	</Package>
</Model>